package rpc.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 方法调用的响应状态码
 *
 * @Author wupeijie
 * @Date 2020/11/19 17:15
 */
@AllArgsConstructor
@Getter
public enum ResultCode {
    SUCCESS(200,"调用方法成功"),
    FAIL(500,"调用方法失败"),
    NOT_FOUND_METHOD(500,"未找到指定方法"),
    NOT_FOUND_CLASS(500,"未找到指定类");

    private final int code;
    private final String msg;
}
